<?php
/**
 * Created by PhpStorm.
 * User: caijianling
 * Date: 2018/8/21
 * Time: 上午11:30
 */


require_once 'admin-core/admin-function.php';
$sql = new TOAdminSQL();
$aaa = json_decode('[{"text":"Parent1","href":"#parent1","tags":["4"],"nodes":[{"text":"Child1","href":"#child1","ags":["2"],"nodes":[{text":"Grandchild1","href":"#grandchild1","tags":["0"]},"{text":"Grandchild2","href":"#grandchild2","tags":["0"]}]},"{text":"Child2","href":"#child2","tags":["0"]}]},"{text":"Parent2","href":"#parent2","tags":["0"]},"{text":"Parent3","href":"#parent3","tags":["0"]},"{text":"Parent4","href":"#parent4","tags":["0"]},"{text":"Parent5","href":"#parent5","tags":["0"]}]', true);
var_dump($aaa);